// ILogReceiver.hpp
#ifndef ILOGRECEIVER_HPP
#define ILOGRECEIVER_HPP

#include <QString>
#include <QtGlobal>

/**
 * @brief ILogReceiver 接口，用于接收日志消息
 */
class ILogReceiver {
public:
    virtual ~ILogReceiver() {}
    virtual void writeLog(QtMsgType type, const QString &file, int line, const QString &function, const QString &msg) = 0;
};

#endif // ILOGRECEIVER_HPP
